PATHMac OS 8 and 9 Developer Documentation > Files > Folder Manager >

Folder Manager Reference


Folder Descriptor Location Constants

There are two special folder locations that you can specify in folder descriptors via the FolderDesc structure and the AddFolderDescriptor function. For folders whose class is kSpecialFolder , you can use the following constants to specify the location of the folder algorithmically. The FolderLocation constants are supported under Mac OS 8 and later.

enum {
    kBlessedFolder      = 'blsf',
    kRootFolder         = 'rotf'
};
typedef OSType FolderType;
typedef OSType FolderLocation;

Constant descriptions

kBlessedFolder
Indicates that the folder location is the System Folder on the volume.
kRootFolder
Indicates that the folder location is the root directory of the volume.

© 1998 Apple Computer, Inc. - (Last Updated 19 Nov 98)